Optimal. Leaf size=100 \[ \frac{e \cos (c+d x) (e \sin (c+d x))^{m-1} \text{Hypergeometric2F1}\left (-\frac{1}{2},\frac{m-1}{2},\frac{m+1}{2},\sin ^2(c+d x)\right )}{a d (1-m) \sqrt{\cos ^2(c+d x)}}-\frac{e (e \sin (c+d x))^{m-1}}{a d (1-m)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.198809, antiderivative size = 100, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.217, Rules used = {3872, 2839, 2564, 30, 2577} \[ \frac{e \cos (c+d x) (e \sin (c+d x))^{m-1} \, _2F_1\left (-\frac{1}{2},\frac{m-1}{2};\frac{m+1}{2};\sin ^2(c+d x)\right )}{a d (1-m) \sqrt{\cos ^2(c+d x)}}-\frac{e (e \sin (c+d x))^{m-1}}{a d (1-m)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3872
Rule 2839
Rule 2564
Rule 30
Rule 2577
Rubi steps
\begin{align*} \int \frac{(e \sin (c+d x))^m}{a+a \sec (c+d x)} \, dx &=-\int \frac{\cos (c+d x) (e \sin (c+d x))^m}{-a-a \cos (c+d x)} \, dx\\ &=\frac{e^2 \int \cos (c+d x) (e \sin (c+d x))^{-2+m} \, dx}{a}-\frac{e^2 \int \cos ^2(c+d x) (e \sin (c+d x))^{-2+m} \, dx}{a}\\ &=\frac{e \cos (c+d x) \, _2F_1\left (-\frac{1}{2},\frac{1}{2} (-1+m);\frac{1+m}{2};\sin ^2(c+d x)\right ) (e \sin (c+d x))^{-1+m}}{a d (1-m) \sqrt{\cos ^2(c+d x)}}+\frac{e \operatorname{Subst}\left (\int x^{-2+m} \, dx,x,e \sin (c+d x)\right )}{a d}\\ &=-\frac{e (e \sin (c+d x))^{-1+m}}{a d (1-m)}+\frac{e \cos (c+d x) \, _2F_1\left (-\frac{1}{2},\frac{1}{2} (-1+m);\frac{1+m}{2};\sin ^2(c+d x)\right ) (e \sin (c+d x))^{-1+m}}{a d (1-m) \sqrt{\cos ^2(c+d x)}}\\ \end{align*}
Mathematica [F] time = 29.8222, size = 0, normalized size = 0. \[ \int \frac{(e \sin (c+d x))^m}{a+a \sec (c+d x)} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.619, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( e\sin \left ( dx+c \right ) \right ) ^{m}}{a+a\sec \left ( dx+c \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e \sin \left (d x + c\right )\right )^{m}}{a \sec \left (d x + c\right ) + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\left (e \sin \left (d x + c\right )\right )^{m}}{a \sec \left (d x + c\right ) + a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{\left (e \sin{\left (c + d x \right )}\right )^{m}}{\sec{\left (c + d x \right )} + 1}\, dx}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e \sin \left (d x + c\right )\right )^{m}}{a \sec \left (d x + c\right ) + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]